package com.ruoyi.baseMain.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户政策对象 base_policy
 *
 * @author linziheng
 * @date 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("base_policy")
public class BasePolicy extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 客户简称
     */
    private String nickName;
    private String mainParty;
    /**
     * 合作媒体
     */
    private String signatory;
    /**
     * 政策类别
     */
    private String policyType;
    /**
     * 备注
     */
    private String remark;
    /**
     * 帐显返点
     */
    private BigDecimal accountPoint;
    /**
     * 私返返点
     */
    private BigDecimal privatePoint;
    /**
     * 总返点
     */
    private BigDecimal totalPoint;
    /**
     * 媒介人员ID
     */
    private String operateUser;
    /**
     * 媒介人员
     */
    private String operateUserName;
    private String status;
    private String instanceCode;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date takeTime;
    private String policyTag;
    private String businessUnitName;

    private String aparty;
    private String bparty;
    private String channel;
    private String payType;
    private String cooperateType;
    private Long customId;
}
